package org.softcognito.webcontent.radiomaryja;

public class CategoryDTOImpl implements CategoryDTO {

	private String link;
	private String categoryName;

	public CategoryDTOImpl(String link, String name) {
		this.link = link;
		this.categoryName = name;
	}

	@Override
	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	@Override
	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("\n\nLink: ").append(this.link).append("\n");
		sb.append("Category: ").append(this.categoryName);
		return sb.toString();
	}
}
